<template>
<div>
<div class="container">
<div class="order-tit">
<span class="on" data-sts="0" @click="orderListTab(0)">全部</span>
<span data-sts="1" @click="orderListTab(1)">待支付</span>
<span data-sts="2" @click="orderListTab(2)">待发货</span>
<span data-sts="3" @click="orderListTab(3)">待收货</span>
<span data-sts="4" @click="orderListTab(4)">已完成</span>
</div>
<div class="main"></div>
</div>
</div>
</template>

<script>
export default {
    methods: {
        orderListTab(num) {
            
        },
    },
}
</script>

<style scoped>
.container {
    height: 100%;
    box-sizing: border-box;
    color: #333;
    font-family: helvetica,'Heiti SC',PingFangSC-Light;
}
.order-tit {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    z-index: 999;
    width: 100%;
    height: 100rpx;
    line-height: 100rpx;
    background-color: #fff;
    border-bottom: 2rpx solid #f4f4f4;
}
.main {
    margin-top: 100rpx;
}
.order-tit span.on {
    border-bottom: 4rpx solid #eb2444;
    color: #eb2444;
}
.order-tit span {
    display: block;
    font-size: 28rpx;
    color: 999;
    width: 100rpx;
    text-align: center;
}
</style>